
import { observable,action,computed } from "mobx";
import resolve from "resolve";

class Coupon{
    @observable tabDataAll = []//所有数据

    @action
    updateTabData(){//更新表格数据(
               this.tabDataAll =  [
                {'youhuijuan':'hahahha','type':'hahahha','money':99,'moneyXiaXian':99,'faFangNum':99,'shiyongdate':99},
                {'youhuijuan':'hahahha','type':'hahahha','money':99,'moneyXiaXian':99,'faFangNum':99,'shiyongdate':99},
                {'youhuijuan':'hahahha','type':'hahahha','money':99,'moneyXiaXian':99,'faFangNum':99,'shiyongdate':99},
                {'youhuijuan':'hahahha','type':'hahahha','money':99,'moneyXiaXian':99,'faFangNum':99,'shiyongdate':99},
                {'youhuijuan':'hahahha','type':'hahahha','money':99,'moneyXiaXian':99,'faFangNum':99,'shiyongdate':99},
                {'youhuijuan':'hahahha','type':'hahahha','money':99,'moneyXiaXian':99,'faFangNum':99,'shiyongdate':99}
            ]
    }

    // @computed
    // pageData(){
    //     return this.tabDataAll
    // }
}

export default Coupon